package com.anyou.mall.goo.param;

import com.anyou.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(value = "套餐商品新增参数 对象")
public class AddGoodsSuitPlanParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品套餐商品编号,修改必须填", required = false)
    private Long goodsSuitPlanId;

    @NotNull
    @ApiModelProperty(value = "商品编号", required = true)
    private Long goodsId;

    @NotNull
    @ApiModelProperty(value = "SkU编号", required = true)
    private Long goodsSkuId;

    /** 销售价格 */
    @ApiModelProperty("套装价格")
    @Excel(name = "套装价格")
    private BigDecimal suitGoodsPrice;

}

